package sd.czw.com.mmgapp.model;

/**
 * Created by czw
 * desc 描述：
 * on 2017/4/20.
 */
public class UserInfo {


    /**
     * errcode : 1
     * errmsg : {
     * "user_id":"534814",
     * "username":"x1568654",
     * "parent_name":"",
     * "head_img":"https://ca.miemiegou.com/wap/themes/miqinew/images/get_avatar.jpg",
     * "token":"4a13e585bd613d48c58e0ce643d035a0",
     * "level":"",
     * "levelname":"注册用户"}
     */

    private int errcode;
    /**
     * user_id : 534814
     * username : x1568654
     * parent_name :
     * head_img : https://ca.miemiegou.com/wap/themes/miqinew/images/get_avatar.jpg
     * token : 4a13e585bd613d48c58e0ce643d035a0
     * level :
     * levelname : 注册用户
     */

    private ErrmsgBean errmsg;

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public ErrmsgBean getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(ErrmsgBean errmsg) {
        this.errmsg = errmsg;
    }

    public static class ErrmsgBean {
        private String user_id;
        private String username;
        private String parent_name;
        private String head_img;
        private String token;
        private String level;
        private String levelname;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getParent_name() {
            return parent_name;
        }

        public void setParent_name(String parent_name) {
            this.parent_name = parent_name;
        }

        public String getHead_img() {
            return head_img;
        }

        public void setHead_img(String head_img) {
            this.head_img = head_img;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getLevelname() {
            return levelname;
        }

        public void setLevelname(String levelname) {
            this.levelname = levelname;
        }
    }
}
